package com.ihisomp.service;

import com.ihisomp.base.Result;
import com.ihisomp.dto.OrgRoleDto;
import com.ihisomp.entity.OrgRole;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 角色信息 服务类
 * </p>
 *
 * @author zy
 * @since 2022-04-12
 */
public interface IOrgRoleService extends IService<OrgRole> {

    Result search(long page, long size, OrgRoleDto req);

    Result add(OrgRoleDto orgRoleDto);

    Result delete(String roleKey);

    Result update(String roleKey, OrgRoleDto orgRoleDto);

    Result get(String roleKey);

    Result selectList(OrgRoleDto orgRoleDto);

    Result updateRolePath(String roleKey, OrgRoleDto orgRoleDto);

}
